package com.mhc.suzuki.constant;

/**
 * 待办任务相关枚举
 * Created by Administrator on 2017/9/7.
 */
public enum WaitingTaskEnum {

    //已删除
    STATUS_DELETED(-1, "已删除"),
    STATUS_PENDING(0, "待处理"),
    STATUS_PROCESSED(1, "已处理"),
    HANDLER_TYPE_USER(0, "员工"),
    HANDLER_TYPE_ROLE(1, "角色"),
    TASK_TYPE_ORDER(0, "订单待审批任务"),
    TASK_TYPE_OVERDUE(1, "逾期待处理任务");

    private Integer code;
    private String name;

    WaitingTaskEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

}
